package com.zb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zb.entity.ZjCustomerWxAuthor;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 商家微信授权认证表 Mapper 接口
 * </p>
 *
 * @author WEN
 * @since 2024-03-01
 */
@Repository
public interface ZjCustomerWxAuthorMapper extends BaseMapper<ZjCustomerWxAuthor> {

    /**
     * 根据商家ID获取微信授权信息
     * @param id 商家ID
     * @return
     */
    ZjCustomerWxAuthor getAuthorizerById(Long id);
}
